package com.wfs.suanfa.jvm.classloader;

/**
 * @author: wfs
 * @Date: 2020/11/18 18:14
 * @Description:
 */
public class T002_ClassLoaderLevel {
    public static void main(String[] args) {
        String str="";
        System.out.println(String.class.getClassLoader());
        System.out.println(str.getClass().getClassLoader());
        System.out.println(T002_ClassLoaderLevel.class.getClassLoader());
        System.out.println(T002_ClassLoaderLevel.class.getClassLoader().getParent());
        System.out.println(T002_ClassLoaderLevel.class.getClassLoader().getParent().getParent());

        System.out.println(T002_ClassLoaderLevel.class.getClassLoader().getClass().getClassLoader());


    }
}
